package com.usian.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.usian.entity.Com;
import com.usian.entity.Course;
import com.usian.entity.CourseDTO;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author 陈宇轩
 * @version 1.0
 * @date 2023/8/23 21:13
 */


public interface CourseMapper extends BaseMapper<Course> {
    @Select("select count(*) from course")
    Integer findAllCourse();

    List<Course> syCou();

    List<Course> syCou1();

}
